package org.admin.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import org.admin.entity.domain.RolePermsGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface RolePermsGroupMapper extends MPJBaseMapper<RolePermsGroup> {
    @Update("update admin_role_perms_groups set deleted_at=null, power=#{power} where id=#{id}")
    void recover(Integer id, Integer power);
}
